package cn.lwj.service.impl;

import cn.lwj.common.ServiceException;
import cn.lwj.mapper.UserMapper;
import cn.lwj.pojo.*;
import cn.lwj.service.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    private AddressBookService addressBookService;


    @Autowired
    private ShoppingCartService shoppingCartService;

//    @Autowired
//    private OrdersService ordersService;

    @Autowired
    private OrderDetailService orderDetailService;


    @Transactional
    @Override
    public void deleteUser(String id) {

    }
}
